package com.mega32k.mevila.item.metal;

import com.mega32k.mevila.tab.MevilaMainTab;
import com.mega32k.mevila.util.ItemInit;
import net.minecraft.client.resources.I18n;
import net.minecraft.item.*;
import net.minecraft.util.text.ITextComponent;
import net.minecraft.util.text.StringTextComponent;

public class MevilaMetal extends Item  {
    public MevilaMetal() {
        super(new Item.Properties()
                .group(MevilaMainTab.mevilaMainTab)
                .rarity(ItemInit.RMEVILA)
                .maxStackSize(64)
                .isImmuneToFire()
        );
    }

    @Override
    public ITextComponent getDisplayName(ItemStack p_200295_1_) {
        return (ITextComponent) new StringTextComponent(I18n.format("item.mevila.mevilaIngot"));
    }
}
